package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document("user_other_info")
public class UserOtherInfo extends EntityBase {
    /**
     * 账户信息
     */
    @Indexed
    private String userId;
    @Indexed
    private String openId;
    @Indexed
    private String appId;
    /**
     * 昵称
     */
    protected String nickName;
    /**
     * 头像
     */
    protected String avatarUrl;
    /**
     * 系统头像ID
     */
    private String systemNickNameAndHeaderImage;
    /**
     * 类型,0:系统默认,1:子定义
     */
    private String type = "0";
}
